//
//  JYSearchHistoryManager.h
//  JYFarm
//
//  Created by 花花 on 2017/10/20.
//  Copyright © 2017年 花花. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "JYSearchModel.h"
@interface JYSearchHistoryManager : NSObject


+(JYSearchHistoryManager *)shareInstance;

//获取历史搜索记录
- (NSMutableArray *)getSearchHistoryArray;

//清空搜索记录
- (void)clearAllSearchHistory;

//保存搜索历史到文件
- (void)saveSearchItemToHistory:(JYSearchModel *)model;
@end
